#ifndef CONFIG_H
#define CONFIG_H

#include <QColor>
#include <iostream>
class Config
{
public:

    bool load(QString filename) { std::cout<<"Not implemented yet!"<<std::endl; }

    static QColor meshColor() { return mesh_color_; }
    static int strokesCount() { return strokes_count_; }
    static double zoomFactor() { return zoom_factor_; }
    static int strokesHeight() { return strokes_height_; }
    static bool drawColoredMesh() { return colored_mesh_; }
    static bool drawInfoText() { return info_text_; }
    static bool drawMesh() { return draw_mesh_; }
    static void enableColorMesh(bool flag) { colored_mesh_ = flag; }
    static void enableInfoText(bool flag) { info_text_ = flag; }
    static void enableMesh(bool flag) { draw_mesh_ = flag; }
    static void enableGrid(bool flag) { (flag) ? strokes_height_ = 20000 : strokes_height_ = 20; }
    static bool indeces() {return true;}
    static std::string initialTriangulationAlgorithm(){return initial_triangulation_algo_;}
private:
    Config();
    Config(const Config &);
    static QColor mesh_color_;
    static int strokes_count_;
    static double zoom_factor_;
    static int strokes_height_;
    static bool colored_mesh_;
    static bool info_text_;
    static bool draw_mesh_;
    static std::string initial_triangulation_algo_;

};



#endif // CONFIG_H
